﻿using Rarous.TexyNet;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Rarous.TexyNet.Test
{
    
    
    /// <summary>
    ///This is a test class for ImageReferenceTest and is intended
    ///to contain all ImageReferenceTest Unit Tests
    ///</summary>
    [TestClass()]
    public class ImageReferenceTest
    {

        /// <summary>
        ///A test for ImageReferenceConstructorTest
        ///</summary>
        [TestMethod()]
        public void ImageReference_Constructor_NameUrlAlt()
        {
            string name = "spacer";
            string url = "/img/spacer.gif";
            string alt = string.Empty;
            ImageReference target = new ImageReference(name, url, alt);
           
            Assert.AreEqual("[*spacer*]: /img/spacer.gif", target.ToString());
        }
    }
}
